<div class="push clear"></div>
</div>
<div class=clear></div>
</div>
<footer>
  <div class=container_12> Copyright &copy; 2011 YourCompany, all rights reserved.
    <div id=button_bar>
      <ul>
        <li> <span><a href="dashboard.html">Dashboard</a></span> </li>
        <li> <span><a href="#">Settings</a></span> </li>
      </ul>
    </div>
  </div>
</footer>
<load href='__PUBLIC__/js/jquery-ui.js' /> 
<load href='__PUBLIC__/js/common.js' />
<script>
$(document).ready(function() {
	$("#table-example").dataTable();
	$("#accordion").accordion();	
	$(window).resize();
	$('#filedir').click(function(){		
		$.ajax({
				url:'__URL__/ftpTree',
				type: 'POST',
				data:'ftp_dir='+$('#ftp_dir').val()+'&ftp_user='+$('#ftp_user').val()+'&ftp_psw='+$('#ftp_psw').val(),
				dataType: 'html',
				timeout: 100000,
				error: function(){
					alert('Error loading XML document');
				},
				beforeSend: function(html){
					$('#showftp').show();
					$('#ftp_error').hide();				
				},
				success: function(html){
					
					if(html == 1)
					{						
						$('#showftp').hide();
						$('#ftp_error').slideDown('slow');
						
					}
					else
					{
						$('#showftp,#ftp_error').hide();
						$('#ftp_trees').slideDown('slow',
						function(){
							$(this).html(html)
						});	
					}

				}
			});
	});
	
})
</script>
<!--[if lt IE 7 ]><script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script> 
<script defer>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})});</script><![endif]-->

</body>
</html>
